package com.cloud.form.api.bean;

import java.util.ArrayList;
import java.util.List;

public class FormFieldAuthorityBean {
	private long id;
	private String name;
	private long seniorId;
	private int write;
	private int read;
	private List<FormFieldAuthorityBean> fields = new ArrayList<FormFieldAuthorityBean>();

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public long getSeniorId() {
		return seniorId;
	}

	public void setSeniorId(long seniorId) {
		this.seniorId = seniorId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getWrite() {
		return write;
	}

	public void setWrite(int write) {
		this.write = write;
	}

	public int getRead() {
		return read;
	}

	public void setRead(int read) {
		this.read = read;
	}

	public List<FormFieldAuthorityBean> getFields() {
		return fields;
	}

	public void setFields(List<FormFieldAuthorityBean> fields) {
		this.fields = fields;
	}

}
